

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%
        request.setAttribute("nombrePagina", "Plantilla");
%>
<f:view>
    <%@include file="/WEB-INF/jspf/header.jspf" %>

    <%@include file="/WEB-INF/jspf/breadcumbs.jspf" %>

    
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Gesti&oacute;n de Garant&iacute;as Warrant</title>
        </head>
        <body>
            <h1>Gesti&oacute;n de Garant&iacute;as Warrant</h1>
            <h2>Registrar Garant&iacute;as Warrant</h2>
            <h:messages showDetail="true" />
            <h:form>
                <fieldset>
                    <legend>Tasaci&oacute;n</legend>
                    <h:panelGrid columns="1">
                        <h:panelGrid columns="2">
                            <h:outputLabel value="Tasador: " for="txtTasador" />
                            <h:outputText id="txtTasador" value="#{GarantiaController.garantiaWarrant.tipotasador.nombrePersona} #{GarantiaController.garantiaWarrant.tipotasador.apePaternoPersona} #{GarantiaController.garantiaWarrant.tipotasador.apeMaternoPersona}"/>
                        
                            <h:outputLabel value="Valor Tasación: " for="txtvalorTasa" />
                            <h:outputText id="txtvalorTasa" value="#{GarantiaController.garantiaWarrant.valortasacion}" />

                            <h:outputLabel value="Tipo Moneda: " for="cboTipoMoneda" />
                            <h:outputText id="cboTipoMoneda" value="#{GarantiaController.garantiaWarrant.tipomoneda}" />
                                
                            <h:outputLabel value="Oficina Registral: " for="txtofiReg" />
                            <h:outputText id="txtofiReg" value="#{GarantiaController.garantiaWarrant.oficinaregistral}" />
                        
                            <h:outputLabel value="Registro: " for="txtReg" />
                            <h:outputText id="txtReg"  value="#{GarantiaController.garantiaWarrant.registro}"/>

                            <h:outputLabel value="Fecha Tasacion: " for="txtFechaTasacion" />
                            <h:outputText id="txtFechaTasacion" value="#{GarantiaController.garantiaWarrant.fechatasacion}"  />
                        </h:panelGrid>
                    </h:panelGrid>
                </fieldset>
                <fieldset>
                    <legend>Datos Registro</legend>
                    <h:panelGrid columns="1">
                        <h:panelGrid columns="2">
                            <h:outputLabel value="Tomo: " for="txtTomo" />
                            <h:outputText id="txtTomo" value="#{GarantiaController.garantiaWarrant.tomo}" />

                            <h:outputLabel value="Folio: " for="txtFolio" />
                            <h:outputText id="txtFolio" value="#{GarantiaController.garantiaWarrant.folio}" />

                            <h:outputLabel value="Asiento: " for="txtAsiento" />
                            <h:outputText id="txtAsiento" value="#{GarantiaController.garantiaWarrant.asiento}"  />

                            <h:outputLabel value="Ficha: " for="txtFicha" />
                            <h:outputText id="txtFicha" value="#{GarantiaController.garantiaWarrant.ficha}"  />

                            <h:outputLabel value="Monto Registrado: " for="txtmontoReg" />
                            <h:outputText id="txtmontoReg" value="#{GarantiaController.garantiaWarrant.montoregistrado}" />

                            <h:outputLabel value="Saldo Disponible: " for="txtSaldoDisp" />
                            <h:outputText id="txtSaldoDisp" value="#{GarantiaController.garantiaWarrant.saldodisponible}" />

                            <h:outputLabel value="Equivalente en Soles: " for="txtEquivSoles" />
                            <h:outputText id="txtEquivSoles" value="#{GarantiaController.garantiaWarrant.equivalentesoles}" />

                            <h:outputLabel value="Val. CRAC: " for="txtCRAC" />
                            <h:outputText id="txtCRAC" value="#{GarantiaController.garantiaWarrant.valorcrac}" />

                            <h:outputLabel value="Val. SBS: " for="txtSBS" />
                            <h:outputText id="txtSBS" value="#{GarantiaController.garantiaWarrant.valorsbs}" />

                            
                           
                        </h:panelGrid>
                    </h:panelGrid>
                </fieldset>
                <h:panelGrid columns="2">
                    <h:commandButton value="Volver" action="volver" />
                    <h:commandButton value="Aceptar" action="aceptar" />
                </h:panelGrid>
            </h:form>
        </body>
    </html>
    <%@include file="/WEB-INF/jspf/footer.jspf" %>
</f:view>